<!-- 发布按钮组件 -->

<template>
  <view class="publish-bar" @click="$emit('click')">
    <image src="/static/icons/add.png" mode="widthFix"></image>
  </view>
</template>

<style scoped>
.publish-bar {
  position: fixed;
  right: 40rpx;
  bottom: 120rpx;
  width: 120rpx;
  height: 120rpx;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6rpx 16rpx rgba(64, 158, 255, 0.4);
  z-index: 99;
}

.publish-bar image {
  width: 70rpx;
  height: 70rpx;
}
</style>